package com.shass.mybatis.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.shass.mybatis.dao.UserDao;
import com.shass.mybatis.service.UserService;

@Service
public class UserServiceImpl implements UserService {

	@Autowired
	private UserDao dao ;
	
	@Override
	public Map<String, Object> getUserByName(String username) {
		return dao.getUserByName(username);
	}

	@Override
	public List<Map<String, Object>> getUserByValue(String username, String fullname) {
		return dao.getUserByValue(username, fullname);
	}

	@Override
	public List<Map<String, Object>> getUserByMap(Map<String, Object> map) {
		return dao.getUserByMap(map);
	}

}
